<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .mask{
        mask-image: url("/src/img/css3/bg-red.png");
    }
</style>
<body>
    <!-- 半透明遮罩 -->
    <img src="/src/img/css3/ms.jpg" alt="" class = mask>
    <img src="/src/img/css3/bg-red.png" alt="" >
</body>
</html>